home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_LayerProperties_layer < prev    next >
Encoding:
Text File  |  2003-04-22  |  1.4 KB  |  45 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_LayerProperties():
  13.     return {
  14.         'General': {
  15.             'Opacity': 100, 
  16.             'Name': 'test', 
  17.             'IsVisible': App.Constants.Boolean.true, 
  18.             'IsTransparencyLocked': App.Constants.Boolean.false, 
  19.             'LinkSet': 0, 
  20.             'UseHighlight': App.Constants.Boolean.false, 
  21.             'PaletteHighlightColor': (255,255,64), 
  22.             'GroupLink': App.Constants.Boolean.false, 
  23.             'BlendMode': App.Constants.BlendMode.Lighten
  24.             }, 
  25.         'BlendRanges': {
  26.             'BlendRangeGreen': (0,0,255,255,0,0,255,255), 
  27.             'BlendRangeRed': (0,0,255,255,0,0,255,255), 
  28.             'BlendRangeBlue': (0,0,255,255,0,0,255,255), 
  29.             'BlendRangeGrey': (0,0,255,255,0,0,255,255)
  30.             }, 
  31.         'BrightnessContrast': None, 
  32.         'ChannelMixer': None, 
  33.         'ColorBalance': None, 
  34.         'CurveParams': None, 
  35.         'HSL': None, 
  36.         'Threshold': None, 
  37.         'Levels': None, 
  38.         'Posterize': None, 
  39.         'Overlay': None
  40.         }
  41.  
  42. def Do(Environment):
  43.     App.Do( Environment, 'LayerProperties',         Preset_LayerProperties())
  44.  
  45.